<div class="panel panel-primary">
  <div class="panel-heading">NgStyle演示</div>
  <div class="panel-body">
    <div [ngStyle]="currentStyles">
      批量修改内联样式
    </div>
    <button class="btn btn-success" (click)="setCurrentStyles()">批量修改样式</button>
  </div>
</div>